package day03;

public class IfElseDemo {
    public static void main(String[] args) {
        int price = 782;
        if(price<500){
            price*=0.9;
        }else{
            price*=0.8;
        }
        System.out.println(price);
    }
}
